<template>
  <div>
    <ErrorPage :item="error" />
  </div>
</template>

<script lang="ts" setup>
import ErrorPage from "../../components/errorpage/errorpage.vue";
import err from "../../assets/images/403.png";
import { ref } from "vue";
interface errorpage {
  title: string;
  desc: string;
  path: string;
  image: any;
}

const error = ref<errorpage>({
  title: "403",
  desc: "资源不可用",
  path: "/",
  image: err,
});
</script>
